package cn.aitrox.ry.service.user.dto.in;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

@Data
public class UserLoginInDto {

    @Length(min = 1, max = 11, message = "手机号不正确")
    private String mobile;

    @NotEmpty(message = "密码不能为空")
    private String pwd;

}
